var form_send = false;
function Sub_form(e, pole) {
	var keynum

	if(window.event) {
		keynum = e.keyCode
	} else if(e.which) {
		keynum = e.which
	}
	if(keynum==13 && !form_send) {
		form_send = true; pole.form.submit(); 
	}
}

window.onload = function()
{
	var texta = document.getElementById("tekst1");
	texta.focus(); 
}

